package com.neuedu.common.constant;

public interface FileConstants {

    String COURSEWARE_FILE_PATH = "COURSEWARE";

    String UNKNOWN_FILE_PATH = "UNKNOWN";

    String UNKNOWN_USER_PATH_PREFIX = "UNKNOWN";

    String RESOURCE_FILE_PATH = "Resource";

    String SYS_NOTICE_FILE_PATH = "NOTIFICATION";

    String HOMEWORK_FILE_PATH = "Homework";

    String DATABANK_FILE_PATH = "Databank";

    String ASSIGNMENT_FILE_PATH = "TrainAssignment";

    // 默认格式
    String[] DEFAULT_ALLOWED_EXTENSION = {
        // 图片
        "jpg", "jpeg", "png",
        // word excel powerpoint
        "doc", "docx", "ppt", "pptx",// "txt",
        // excel
        "xls", "xlsx",
        // 压缩文件
        "rar", "zip",
        // 多媒体格式
        "mp4","mp3",
        // pdf
        "pdf"};

    String[] COURSEWARE_ALLOWED_EXTENSION = {
        // word excel powerpoint
        "doc", "docx", "ppt", "pptx",// "txt",
        // pdf
        "pdf"};

}
